<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
	<div class="row">
		<div class="col-sm-12">
			<div class="ibox float-e-margins">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${sysBrand.id}"  type="hidden">

						<div class="form-group">
							<label class="col-sm-3 control-label">品牌名称：</label>
							<div class="col-sm-8">
								<input id="brandName" name="brandName" th:value="${sysBrand.brandName}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">品牌类型：</label>
							<div class="col-sm-8">

								<input id="typeHidden" name="typeHidden" th:value="${sysBrand.brandType}" class="form-control"
									   type="hidden">

								<select name="brandType" id="brandType" class="form-control">
									<option value="" > 请选择</option>
									<option value="0"> 幼儿照护</option>
									<option value="1"> 产后恢复</option>
								</select>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">地址：</label>
							<div class="col-sm-8">
								<input id="workAddress" name="workAddress" th:value="${sysBrand.workAddress}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">详细地址：</label>
							<div class="col-sm-8">
								<input id="detailsAddress" name="detailsAddress" th:value="${sysBrand.detailsAddress}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">企业规模：</label>
							<div class="col-sm-8">
								<!--									<input id="enterpriseScale" name="enterpriseScale" th:value="${sysBrand.enterpriseScale}" class="form-control" type="text">-->
								<input id="enterpriseScaleHidden" name="enterpriseScaleHidden" th:value="${sysBrand.enterpriseScale}" class="form-control"
									   type="hidden">

								<!--								<input id="enterpriseScaleHide" name="enterpriseScale" placeholder="请输入企业规模" class="form-control" type="text">-->

								<select name="enterpriseScale" id="enterpriseScale" class="form-control">
									<option > 请选择企业规模</option>
									<option value="1"> 0-20人</option>
									<option value="2"> 20-50人</option>
									<option value="3"> 50-100人</option>
									<option value="4"> 100人以上</option>
								</select>

							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">企业名称：</label>
							<div class="col-sm-8">
								<input id="enterpriseName" name="enterpriseName" th:value="${sysBrand.enterpriseName}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">负责人：</label>
							<div class="col-sm-8">
								<input id="personInCharge" name="personInCharge" th:value="${sysBrand.personInCharge}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">联系方式：</label>
							<div class="col-sm-8">
								<input id="telephone" name="telephone" th:value="${sysBrand.telephone}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">品牌介绍：</label>
							<div class="col-sm-8">
								<input id="brandIntroduce" name="brandIntroduce" th:value="${sysBrand.brandIntroduce}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">校企合作：</label>
							<div class="col-sm-8">
								<input id="brandSchoolEnterprise" name="brandSchoolEnterprise" th:value="${sysBrand.brandSchoolEnterprise}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">品牌照片：</label>
							<div class="col-sm-8">
								<input type="hidden" id="brandImgas" th:value="${sysBrand.brandImg}">
								<div id="brandImg"></div>
								<a download class="img-responsive" :title="row.url" th:href="${sysBrand.brandImg}" style="color: red">下载查看</a>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">品牌logo：</label>
							<div class="col-sm-8">
								<img id="brandlogo" name="brandlogo" th:src="${sysBrand.brandlogo}" style="width: 150px; height:150px;" class="form-control" type="text">
								<a download class="img-responsive" :title="row.url" th:href="${sysBrand.brandlogo}" style="color: red">下载查看</a>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">推荐函：</label>
							<div class="col-sm-8">
								<img id="recommendFile" name="recommendFile" style="width: 150px; height:150px;" th:src="${sysBrand.recommendFile}" class="form-control" type="text">
								<a download class="img-responsive" :title="row.url" th:href="${sysBrand.recommendFile}" style="color: red">下载查看</a>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">营业执照：</label>
							<div class="col-sm-8">
								<img id="license" name="license" th:src="${sysBrand.license}" style="width: 150px; height:150px;" class="form-control" type="text">
								<a download class="img-responsive" :title="row.url" th:href="${sysBrand.license} " style="color: red">下载查看</a>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">成立时间：</label>
							<div class="col-sm-8">
								<input id="brandTime" name="brandTime" th:value="${sysBrand.brandTime}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">创建时间：</label>
							<div class="col-sm-8">
								<input id="createTime" name="createTime" th:value="${sysBrand.createTimes}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">修改时间：</label>
							<div class="col-sm-8">
								<input id="updateTime" name="updateTime" th:value="${sysBrand.updateTimes}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">审核状态：</label>
							<div class="col-sm-8">
								<input id="status" name="status" th:value="${sysBrand.statusNmae}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">数据状态：</label>
							<div class="col-sm-8">
								<input id="state" name="state" th:value="${sysBrand.stateNmae}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">用户ID：</label>
							<div class="col-sm-8">
								<input id="userId" name="userId" th:value="${sysBrand.userIdName}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">审核人：</label>
							<div class="col-sm-8">
								<input id="toExamine" name="toExamine" th:value="${sysBrand.toExamineName}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">审核时间：</label>
							<div class="col-sm-8">
								<input id="toExamineTime" name="toExamineTime" th:value="${sysBrand.toExamineTimes}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">审核备注：</label>
							<div class="col-sm-8">
								<input id="remarks" name="remarks" th:value="${sysBrand.remarks}" class="form-control" type="text">
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<div th:include="include::footer"></div>
<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/sysBrand/details.js"></script>

<script>

	var brand = $("#brandImgas").val().split(','),str = '';

	brand.map(function (item,index){
	  str += `<img name="brandImg" style="width: 150px; height:150px;" className="form-control" src="${item}" type="text">`
	})

	$("#brandImg").html(str);


</script>

</body>
</html>
